package cn.easy.kitchen.domain;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import cn.easy.base.domain.core.AtEntity;

@Entity
@Table(name = "ck_material")
public class Material extends AtEntity {
	/**物料基础*/
	private String materialBaseId;
	/**编码*/
	private String no;
	/**原物料编码*/
	private String oldNo;
	/**名称*/
	private String name;
	/**属性*/
	private String properties;
	/**计量单位*/
	private String materialUnitId;
	/**换算比例*/
	private BigDecimal conversionRatio;
	/**租户编码*/
	private String saasNo;

	public String getMaterialBaseId() { return materialBaseId; }
	public void setMaterialBaseId(String materialBaseId) { this.materialBaseId = materialBaseId; }
	public String getNo() { return no; }
	public void setNo(String no) { this.no = no; }
	public String getName() { return name; }
	public void setName(String name) { this.name = name; }
	public String getProperties() { return properties; }
	public void setProperties(String properties) { this.properties = properties; }
	public String getMaterialUnitId() { return materialUnitId; }
	public void setMaterialUnitId(String materialUnitId) { this.materialUnitId = materialUnitId; }
	public BigDecimal getConversionRatio() { return conversionRatio; }
	public void setConversionRatio(BigDecimal conversionRatio) { this.conversionRatio = conversionRatio; }
	public String getSaasNo() { return saasNo; }
	public void setSaasNo(String saasNo) { this.saasNo = saasNo; }

	public String getOldNo() {
		return oldNo;
	}

	public void setOldNo(String oldNo) {
		this.oldNo = oldNo;
	}
}
